package com.huawei.esdk.uc.device.u19.callback;

import org.apache.log4j.Logger;
import com.huawei.esdk.platform.common.SDKErrorCode;
import com.huawei.esdk.uc.device.AbstractU19Capability;
import com.huawei.esdk.uc.device.obg.INotifyCapability;

public class U19NotifyCapabilityImpl extends AbstractU19Capability implements INotifyCapability
{
    private static final Logger LOGGER = Logger.getLogger(U19NotifyCapabilityImpl.class);
    
    @Override
    public SDKErrorCode registerNotification(boolean register)
    {
        LOGGER.debug("registerNotification() start");
        SDKErrorCode result = new SDKErrorCode();
        
        int errCode = getUcU19Provider().registerNotification(register,"");
        
        result.setErrCode(errCode);
        
        LOGGER.debug("registerNotification() end");
        return result;
    }
    
}
